CC=/usr/local/bin/arm-apple-darwin-gcc
LD=$(CC)
LDFLAGS=-lobjc -std=gnu99\
		-framework CoreFoundation \
		-framework Foundation \
		-framework UIKit \
		-framework LayerKit \
		-framework CoreGraphics \
		-framework GraphicsServices 

all:	Fractalicious
			chmod +x Fractalicious
			scp Fractalicious root@192.168.1.102:/Applications/Fractalicious.app/

Fractalicious:  main.o \
		FractaliciousApplication.o \
		FView.o \
		SettingsView.o \
		FractalController.o \
		FOptions.o \
		Vector.o \
		FAlgorithm.o \
		FFastAlgorithm.o \
		DrawingData.o \
		DB.o \
		Dragable.o \
		Spiral.o \
		Tree.o \
		Fern.o \
		Koch.o \
		ColorChooser.o
		$(LD) $(LDFLAGS) -o $@ $^

%.o:	%.m
				$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@

clean:
				rm -f *.o Hello